package com.lightsaber.trade.cloth.service.planning;

import java.util.List;

import com.lightsaber.trade.core.service.HppBaseSerivce;
import com.lightsaber.trade.cloth.entity.planning.ProgrammePlanningItem;

public interface ProgrammePlanningItemService extends HppBaseSerivce<ProgrammePlanningItem, String> {

    @Override
    public void save(final ProgrammePlanningItem programmePlanningItem);

    public ProgrammePlanningItem findUniquePpi(String level2PlanningId, String code,
            Integer planYear, Integer studyYear, final String operatingCampus,
            final String operatingUnit);

    public List<Long> sumForPlannedPlaceByLevel2IdAndCampusIdAndPlanYear(
            final String level2PlanningId, final String campusId, final Integer planYear);

}
